export const rules = {
    funcName: [
        { required: true, message: '请输入功能名称', trigger: 'blur' },
        { min: 2, max: 20, message: '功能名称长度2-20位', trigger: 'blur' },
    ],
    funcCode: [
        { required: true, message: '请输入功能标识', trigger: 'blur' }
    ],
    attCode: [
        {
            required: true,
            message: '请选择属性',
            trigger: 'change',
        },
    ]
}